package com.ithaohao.mapper;

import com.ithaohao.pojo.Application;
import com.ithaohao.pojo.Invitations;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface InvitationsMapper {

    void post(Invitations invitations);

    List<Application> applicationlist();

    List<Invitations> selectById(Integer id);

    void add(Application invitations);

    int userExists(String user);

    int DateExists(LocalDate createDate);


}
